package io.renren.modules.pullin.service;

import io.renren.modules.jxgk.entity.CollegeInfoEntity;
import io.renren.modules.jxgk.entity.ElectiveCourseEntity;
import io.renren.modules.pullin.entity.ClassCourse;
import io.renren.modules.jxgkphone.entity.StudentInfo;
import io.renren.modules.jxgk.entity.TeacherInfoEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PullOutService {
    void insertClassCourse(ClassCourse classCourse);
    List<ClassCourse> findClassCourseByClassNameAndCourseId(String class_name, String course_school_id);
    void DeleteClassCourseByClassNameAndCourseId(String class_name,String course_school_id);

    void insertStudentInfo(StudentInfo studentInfo);
    StudentInfo findStudentInfoByStudentId(String sid);
    void deleteStudentInfoByStudentId(String studentSchoolId);

    void insertTeacher(TeacherInfoEntity t);
    TeacherInfoEntity findTeacherInfobyTeacherId(String teacher_id);
    void deleteTeacherInfoByTeacherId(String teacher_id);
    //选修课
    void insertElectiveCourse(ElectiveCourseEntity t);
    List<ElectiveCourseEntity> findElectiveCourseByStudentIdAndCourseTime(String studentId, String courseTime);
    void DeleteElectiveCourseByStudentIdAndCourseTime( String studentId,String courseTime);
    //classInfo
    void InsertClassInfo();
    void DeleteClassInfo();
    //collegeInfo
    CollegeInfoEntity findCollegeInfobyCollegeCode(String collegeCode);
    void insertCollege(CollegeInfoEntity collegeInfoEntity);
    void deleteCollegeInfoByCollegeCode(String collegeCode);
    //副表
    CollegeInfoEntity findCollegeInfoCopybyCollegeCode(String collegeCode);
    void insertCollegeCopy(CollegeInfoEntity collegeInfoEntity);
    void deleteCollegeInfoCopyByCollegeCode(String collegeCode);
}
